Skip to main content

Dot Multiply

dot_multiply(input1: any[] | Mat | Tensor, input2: any[] | Mat | Tensor) : any[] | Mat | Tensor

param input1 first input, the first multiplicand

param input2 second input, the second multiplicand

returns: any[] | Mat | Tensor - A copy of the structure multiplied element-wise (Note: this is not a standard multiplication of matrices), similar to dot_divide

This function, similar to dot_divide, takes two structures of the same sizes, divides the elements element-wise, and returns it: